package tr.edu.yildiz.ce.dap.appagent.commands;

import tr.edu.yildiz.ce.dap.appagent.basic.BasicListenerMock;
import tr.edu.yildiz.ce.dap.appagent.command.deployment.base.CommandConstants;
import tr.edu.yildiz.ce.dap.appagent.model.DapMessage;

public class RegisterListenerMock extends BasicListenerMock{

	@Override
	public DapMessage reply(DapMessage input) {
		DapMessage output = new DapMessage();
		output.setCommand(CommandConstants.REGISTER);
		output.setAgentName(input.getAgentName());
		output.setRegistrationId("01");
		output.setResponse(CommandConstants.RESPONSE.OK);
		
		return output;
	}


	
}
